﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using SystemCenterSoa.DtoModel.Common;
using SystemCenterSoa.DtoModel.SystemSettings.InstituTions;
using SystemCenterSoa.PoModel.SystemSettings.InstituTions;

namespace SystemCenterSoa.IRepository.SystemSettings.InstituTions
{
    public interface IDepartmentRepository
    {
        List<DepartmentOfTypePo> BindDepType();
        PagerResult<DepartmentOfManagementPo> SearchPage(SearchModel searchModel);
        bool DepartmentAdd(DepartmentOfManagementPo view);
        DepartmentOfManagementPo GetDepartmentById(int id);
        bool DepartmentUpdate(DepartmentOfManagementPo view);
        bool DepartmentDelete(string ids);
        bool DepartmentUpdateById(int id);
    }
}
